package com.sxau.software_educational_system_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxau.software_educational_system_backend.domain.entity.Admin;
import com.sxau.software_educational_system_backend.domain.req.ReqAdminDTO;
import com.sxau.software_educational_system_backend.domain.req.ReqLoginDTO;
import javax.security.auth.login.AccountLockedException;
import javax.security.auth.login.AccountNotFoundException;

/**
* @author mi
* @description 针对表【admin】的数据库操作Service
* @createDate 2025-05-07 20:35:58
*/
public interface AdminService extends IService<Admin> {

    Admin login(ReqLoginDTO reqLoginDTO) throws AccountNotFoundException, AccountLockedException;


    int saveUser(ReqAdminDTO reqAdminDTO);
}
